import { createStore } from "vuex";
import getters from "./getters";
import user from "./modules/user";
import settings from "./modules/settings";

export default createStore({
  modules: {
    user,
    settings
  },
  getters,
  // 启用严格模式,非mutation改变值都会报错
  strict: true
});
